﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Data;
using HHL_Acc.HHL_DaoAcc.DataBase;
using HHL_Acc.HHL_EntityAcc;

namespace HHL_Acc.HHL_DaoAcc.DataObject
{
    class SysExpMethodDao : CBaseDao
    {
        public IList<SysExpMethod> getSysExportList()
        {
            const String sql = "select  ExpMethod, ExpName as ExpMethodName from SYS_EXPMETHODS where disabled = 0";
            DataSet ds = ExcuteSql(sql);
            if (ds != null && ds.Tables.Count > 0)
            {
                return CDb.MapList<SysExpMethod>(ds.Tables[0]);
            }
            return null;
        }
    }
}
